blairevans@ubuntu:~/Desktop/hello_radio/firmware$ make F_CPU=20000000 hr16-168 -------- begin -------- Cleaning project: rm -f hello_radio.eep \ hello_radioeep.hex \ rm -f hello_radio.cof \ hello_radio.elf \ hello_radio.map \ hello_radio.sym \ hello_radio.lss \ ./hello_radio.o \ ./hello_radio.lst \ hello_radio.s \ hello_radio.d \ hello_radio.i \ InvalidEvents.tmp \ #rm -rf .dep rm -f hello_radio.hex -------- end -------- Compiling C: hello_radio.c avr-gcc -c -mmcu=atmega168p -I. -gdwarf-2 -DF_CPU=20000000UL -DF_CLOCK=20000000UL -DHELLO_RADIO_016 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fno-inline-small-functions -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wundef -Wa,-adhlns=./hello_radio.lst -std=gnu99 -Wundef -MMD -MP -MF .dep/hello_radio.o.d hello_radio.c -o hello_radio.o Linking: hello_radio.elf avr-gcc -mmcu=atmega168p -I. -gdwarf-2 -DF_CPU=20000000UL -DF_CLOCK=20000000UL -DHELLO_RADIO_016 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fno-inline-small-functions -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wundef -Wa,-adhlns=hello_radio.o -std=gnu99 -Wundef -MMD -MP -MF .dep/hello_radio.elf.d hello_radio.o --output hello_radio.elf -Wl,-Map=hello_radio.map,--cref -Wl,--relax -Wl,--gc-sections -lm Creating load file for Flash: hello_radio.hex avr-objcopy -O ihex -R .eeprom hello_radio.elf hello_radio.hex blairevans@ubuntu:~/Desktop/hello_radio/firmware$ mv hello_radio.hex hello_radio_20MHz.hex blairevans@ubuntu:~/Desktop/hello_radio/firmware$ make F_CPU=8000000 hr16-168 -------- begin -------- Cleaning project: rm -f hello_radio.eep \ hello_radioeep.hex \ rm -f hello_radio.cof \ hello_radio.elf \ hello_radio.map \ hello_radio.sym \ hello_radio.lss \ ./hello_radio.o \ ./hello_radio.lst \ hello_radio.s \ hello_radio.d \ hello_radio.i \ InvalidEvents.tmp \ #rm -rf .dep rm -f hello_radio.hex -------- end -------- Compiling C: hello_radio.c avr-gcc -c -mmcu=atmega168p -I. -gdwarf-2 -DF_CPU=8000000UL -DF_CLOCK=8000000UL -DHELLO_RADIO_016 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fno-inline-small-functions -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wundef -Wa,-adhlns=./hello_radio.lst -std=gnu99 -Wundef -MMD -MP -MF .dep/hello_radio.o.d hello_radio.c -o hello_radio.o Linking: hello_radio.elf avr-gcc -mmcu=atmega168p -I. -gdwarf-2 -DF_CPU=8000000UL -DF_CLOCK=8000000UL -DHELLO_RADIO_016 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fno-inline-small-functions -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wundef -Wa,-adhlns=hello_radio.o -std=gnu99 -Wundef -MMD -MP -MF .dep/hello_radio.elf.d hello_radio.o --output hello_radio.elf -Wl,-Map=hello_radio.map,--cref -Wl,--relax -Wl,--gc-sections -lm Creating load file for Flash: hello_radio.hex avr-objcopy -O ihex -R .eeprom hello_radio.elf hello_radio.hex blairevans@ubuntu:~/Desktop/hello_radio/firmware$ mv hello_radio.hex hello_radio_8MHz.hex blairevans@ubuntu:~/Desktop/hello_radio/firmware$ avrdude -c usbtiny -p m168 -U lfuse:w:0xf6:m -U hfuse:w:0xdd:m -U efuse:w:0x01:m -U flash:w:hello_radio_20MHz.hex avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.01s avrdude: Device signature = 0x1e9406 avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed To disable this feature, specify the -D option. avrdude: erasing chip avrdude: reading input file "0xf6" avrdude: writing lfuse (1 bytes): Writing | ################################################## | 100% 0.00s avrdude: 1 bytes of lfuse written avrdude: verifying lfuse memory against 0xf6: avrdude: load data lfuse data from input file 0xf6: avrdude: input file 0xf6 contains 1 bytes avrdude: reading on-chip lfuse data: Reading | ################################################## | 100% 0.00s avrdude: verifying ... avrdude: 1 bytes of lfuse verified avrdude: reading input file "0xdd" avrdude: writing hfuse (1 bytes): Writing | ################################################## | 100% 0.00s avrdude: 1 bytes of hfuse written avrdude: verifying hfuse memory against 0xdd: avrdude: load data hfuse data from input file 0xdd: avrdude: input file 0xdd contains 1 bytes avrdude: reading on-chip hfuse data: Reading | ################################################## | 100% 0.01s avrdude: verifying ... avrdude: 1 bytes of hfuse verified avrdude: reading input file "0x01" avrdude: writing efuse (1 bytes): Writing | ################################################## | 100% 0.00s avrdude: 1 bytes of efuse written avrdude: verifying efuse memory against 0x01: avrdude: load data efuse data from input file 0x01: avrdude: input file 0x01 contains 1 bytes avrdude: reading on-chip efuse data: Reading | ################################################## | 100% 0.00s avrdude: verifying ... avrdude: 1 bytes of efuse verified avrdude: reading input file "hello_radio_20MHz.hex" avrdude: input file hello_radio_20MHz.hex auto detected as Intel Hex avrdude: writing flash (5168 bytes): Writing | ################################################## | 100% 7.94s avrdude: 5168 bytes of flash written avrdude: verifying flash memory against hello_radio_20MHz.hex: avrdude: load data flash data from input file hello_radio_20MHz.hex: avrdude: input file hello_radio_20MHz.hex auto detected as Intel Hex avrdude: input file hello_radio_20MHz.hex contains 5168 bytes avrdude: reading on-chip flash data: Reading | ################################################## | 100% 5.07s avrdude: verifying ... avrdude: 5168 bytes of flash verified avrdude: safemode: Fuses OK avrdude done. Thank you. blairevans@ubuntu:~/Desktop/hello_radio/firmware$ avrdude -c usbtiny -p m168 -U lfuse:w:0xf6:m -U hfuse:w:0xdd:m -U efuse:w:0x01:m -U flash:w:hello_radio_20MHz.hex avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.01s avrdude: Device signature = 0x1e9406 avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed To disable this feature, specify the -D option. avrdude: erasing chip avrdude: reading input file "0xf6" avrdude: writing lfuse (1 bytes): Writing | ################################################## | 100% 0.00s avrdude: 1 bytes of lfuse written avrdude: verifying lfuse memory against 0xf6: avrdude: load data lfuse data from input file 0xf6: avrdude: input file 0xf6 contains 1 bytes avrdude: reading on-chip lfuse data: Reading | ################################################## | 100% 0.00s avrdude: verifying ... avrdude: 1 bytes of lfuse verified avrdude: reading input file "0xdd" avrdude: writing hfuse (1 bytes): Writing | ################################################## | 100% 0.00s avrdude: 1 bytes of hfuse written avrdude: verifying hfuse memory against 0xdd: avrdude: load data hfuse data from input file 0xdd: avrdude: input file 0xdd contains 1 bytes avrdude: reading on-chip hfuse data: Reading | ################################################## | 100% 0.00s avrdude: verifying ... avrdude: 1 bytes of hfuse verified avrdude: reading input file "0x01" avrdude: writing efuse (1 bytes): Writing | ################################################## | 100% 0.00s avrdude: 1 bytes of efuse written avrdude: verifying efuse memory against 0x01: avrdude: load data efuse data from input file 0x01: avrdude: input file 0x01 contains 1 bytes avrdude: reading on-chip efuse data: Reading | ################################################## | 100% 0.00s avrdude: verifying ... avrdude: 1 bytes of efuse verified avrdude: reading input file "hello_radio_20MHz.hex" avrdude: input file hello_radio_20MHz.hex auto detected as Intel Hex avrdude: writing flash (5168 bytes): Writing | ################################################## | 100% 7.97s avrdude: 5168 bytes of flash written avrdude: verifying flash memory against hello_radio_20MHz.hex: avrdude: load data flash data from input file hello_radio_20MHz.hex: avrdude: input file hello_radio_20MHz.hex auto detected as Intel Hex avrdude: input file hello_radio_20MHz.hex contains 5168 bytes avrdude: reading on-chip flash data: Reading | ################################################## | 100% 5.18s avrdude: verifying ... avrdude: 5168 bytes of flash verified avrdude: safemode: Fuses OK avrdude done. Thank you. blairevans@ubuntu:~/Desktop/hello_radio/firmware$ avrdude -c usbtiny -p m168 -U lfuse:w:0xf6:m -U hfuse:w:0xdd:m -U efuse:w:0x01:m -U flash:w:hello_radio_8MHz.hex avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.01s avrdude: Device signature = 0x1e9406 avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed To disable this feature, specify the -D option. avrdude: erasing chip avrdude: reading input file "0xf6" avrdude: writing lfuse (1 bytes): Writing | ################################################## | 100% 0.00s avrdude: 1 bytes of lfuse written avrdude: verifying lfuse memory against 0xf6: avrdude: load data lfuse data from input file 0xf6: avrdude: input file 0xf6 contains 1 bytes avrdude: reading on-chip lfuse data: Reading | ################################################## | 100% 0.00s avrdude: verifying ... avrdude: 1 bytes of lfuse verified avrdude: reading input file "0xdd" avrdude: writing hfuse (1 bytes): Writing | ################################################## | 100% 0.00s avrdude: 1 bytes of hfuse written avrdude: verifying hfuse memory against 0xdd: avrdude: load data hfuse data from input file 0xdd: avrdude: input file 0xdd contains 1 bytes avrdude: reading on-chip hfuse data: Reading | ################################################## | 100% 0.00s avrdude: verifying ... avrdude: 1 bytes of hfuse verified avrdude: reading input file "0x01" avrdude: writing efuse (1 bytes): Writing | ################################################## | 100% 0.00s avrdude: 1 bytes of efuse written avrdude: verifying efuse memory against 0x01: avrdude: load data efuse data from input file 0x01: avrdude: input file 0x01 contains 1 bytes avrdude: reading on-chip efuse data: Reading | ################################################## | 100% 0.00s avrdude: verifying ... avrdude: 1 bytes of efuse verified avrdude: reading input file "hello_radio_8MHz.hex" avrdude: input file hello_radio_8MHz.hex auto detected as Intel Hex avrdude: writing flash (5168 bytes): Writing | ################################################## | 100% 7.89s avrdude: 5168 bytes of flash written avrdude: verifying flash memory against hello_radio_8MHz.hex: avrdude: load data flash data from input file hello_radio_8MHz.hex: avrdude: input file hello_radio_8MHz.hex auto detected as Intel Hex avrdude: input file hello_radio_8MHz.hex contains 5168 bytes avrdude: reading on-chip flash data: Reading | ################################################## | 100% 5.16s avrdude: verifying ... avrdude: 5168 bytes of flash verified avrdude: safemode: Fuses OK avrdude done. Thank you. blairevans@ubuntu:~/Desktop/hello_radio/firmware$